import { observable } from 'mobx';
import { ResumeInfo } from '@/type';

interface ModelConfig {
    name: string;
    result: string | ResumeInfo;
    loading: boolean;
    visible: boolean;
}

export const defaultResumeDetailModalConfig = {
    name: '',
    result: '',
    loading: false,
    visible: false
};

export default class App {
    // 人才详情弹窗配置
    @observable
    resumeDetailModalConfig: ModelConfig = Object.assign(
        {},
        defaultResumeDetailModalConfig
    );
}
